<?php
/**
 * Created by PhpStorm.
 * User: songdewei
 * Date: 2017/10/17
 * Time: 上午11:15
 */

namespace Model\App;


use Data\Company\CompanyContentModel;
use Data\Company\CompanyModel;

class CompanyController extends BaseController
{
    public function index(){

    }

    /**
     *
     */
    public function detail(){
        global $_G,$_lang;

        $company_id = intval($_GET['company_id']);

        $company = (new CompanyModel())->where(array('company_id'=>$company_id))->getOne();
        $content = (new CompanyContentModel())->where(array('company_id'=>$company_id))->getOne();

        include template('company/detail');
    }
}